package com.talent.core.protocol.mqtt.enums;

/**
 * @ClassName：TlMqttConnectRes
 * @Author: hszhou
 * @Date: 2024/11/25 10:58
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
public enum TlMqttConnectResCode {

    ACCEPT(0),
    REFUSE_UNSUPPORTED_PROTOCOL_VERSION(1),
    REFUSE_INCONSISTENT_CLIENT_IDENTIFIER(2),
    REFUSE_SERVER_UNAVAILABLE(3),
    REFUSE_INVALID_USERNAME_AND_PASSWORD(4),
    REFUSE_UNAUTHORIZED(5),
    ;

    private final int value;
    TlMqttConnectResCode(int value){

        this.value =value;
    }

    public int getValue() {
        return value;
    }
}
